package cn.com.open.ms.ecgpaasdatarest.enums;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * @Description SQL关键字枚举类
 * @author 奶茶
 * Created by on 2018/11/29 9:54.
 */
public enum SQLEnums {

    SELECT("SELECT","select"),
    COLUMN("*","column"),
    FROM("FROM","from"),
    WHERE("WHERE","where"),
    AND("AND","and"),
    EQ("=","eq"),
    GT(">","gt"),
    GTE(">=","gte"),
    LT("<","lt"),
    LTE("<=","lte"),
    NEQ("!=","neq"),
    IN("IN","in")
    ;

    private @Getter @Setter String sqlName;

    private @Getter @Setter String sqlAlias;

    SQLEnums(String sqlName, String sqlAlias) {
        this.sqlName = sqlName;
        this.sqlAlias = sqlAlias;
    }


}
